package com.redtea.studyspringboot.service;

import com.redtea.studyspringboot.domain.bo.UserDeptBo;
import com.redtea.studyspringboot.domain.bo.UserInfoBo;
import com.redtea.studyspringboot.domain.vo.UserInfoVo;

import java.util.List;

/**
 * @program: StudySpringBoot
 * @ClassName ILoginService
 * @author: lgp
 * @create: 2024-04-10 16:27
 * @description:
 **/

public interface ILoginService {

    UserInfoVo getUserInfoById(Long id);
    List<UserInfoVo> getUserInfoList();

    Boolean addUser(UserDeptBo userDeptBo);

    Boolean batchAddUser(List<UserDeptBo> userDeptBoList);

    Boolean updateUser(UserDeptBo userDeptBo);

    Boolean batchUpdateUser(List<UserDeptBo> userDeptBoList);

    Boolean delUser(UserDeptBo userDeptBo);

    Boolean batchDelUser(List<UserDeptBo> userDeptBoList);

    Boolean userLogin(String userName,String pwd);

}
